package com.sisy.mapper;

import com.sisy.common.RefundOrder;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author: xx
 * @date: 2021-02-04 10:32
 */
public interface RefundOrderMapper {
    int createOrder(RefundOrder refundOrder);

    int updateRefundOrder(@Param("id") Integer id, @Param("refundAmount")BigDecimal refundAmount);

    RefundOrder selectRefundOrder(@Param("id") Integer id);

    RefundOrder selectRefundOrderForUpdate(@Param("id") Integer id);
}
